package com.java.jvm;
class ClassAA{
    static int a=10;
    static{
        System.out.println("ClassA.static{}");
    }
}
class ClassBB{
    static int b=10;
    static{
        System.out.println("ClassB.static{}");
    }
}
class ClassCC{
    static int c=10;
    static{
        System.out.println("ClassC.static{}");
    }
}
//-XX:+TraceClassLoading
public class ClassLoaderTraceTests {
    public static void main(String[] args) throws ClassNotFoundException {
        //ClassAA a1;
        //int a = ClassAA.a;
        ClassLoader.getSystemClassLoader().loadClass("com.java.jvm.ClassBB");
        Class.forName("com.java.jvm.ClassCC");
    }
}
